import request from '@/utils/request'

// 查询下单的手动配置金额列表
export function listReportJl(query) {
  return request({
    url: '/Report/ReportJl/list',
    method: 'get',
    params: query
  })
}

export function listReportJlbypid(query) {
  return request({
    url: '/Report/ReportJl/listbypid',
    method: 'get',
    params: query
  })
}

// 查询下单的手动配置金额详细
export function getReportJl(id) {
  return request({
    url: '/Report/ReportJl/' + id,
    method: 'get'
  })
}

// 新增下单的手动配置金额
export function addReportJl(data) {
  return request({
    url: '/Report/ReportJl',
    method: 'post',
    data: data
  })
}

export function addReportJllist(data) {
  return request({
    url: '/Report/ReportJl/addlist',
    method: 'post',
    data: data
  })
}

// 修改下单的手动配置金额
export function updateReportJl(data) {
  return request({
    url: '/Report/ReportJl',
    method: 'put',
    data: data
  })
}

// 删除下单的手动配置金额
export function delReportJl(id) {
  return request({
    url: '/Report/ReportJl/' + id,
    method: 'delete'
  })
}
